package com.wanmait.community.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 业主投诉表
 */
@Data
@Accessors(chain = true)
@TableName(value = "complaint")
public class Complaint {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 投诉人id
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 投诉时间
     */
    @TableField(value = "user_time")
    private Date userTime;

    /**
     * 投诉内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 投诉类型
     */
    @TableField(value = "`type`")
    private String type;

    /**
     * 处理员工id
     */
    @TableField(value = "admin_id")
    private Integer adminId;

    /**
     * 处理时间
     */
    @TableField(value = "admin_time")
    private Date adminTime;

    /**
     * 处理结果
     */
    @TableField(value = "complaint_result")
    private String complaintResult;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 逻辑删除
     */
    @TableField(value = "`enable`")
    private Boolean enable;
}